home *** CD-ROM | disk | FTP | other *** search
/ Graphics & Sound Explorer / Graphics & Sound Explorer.iso / _debug / 1.bat next >
DOS Batch File  |  1994-07-11  |  520b  |  29 lines

  1. @echo off
  2.  
  3. echo INSTALLING VBRUN DLLs...
  4. echo.
  5.  
  6. :VerifyStartup
  7. if "%1"=="" goto BadStartup
  8.  
  9. :DoCopyDefault
  10. if not "%2"=="" goto DoCopyCustom
  11. if not exist c:\windows\system\nul goto BadDirName
  12. xcopy /v %1\vbrun*.dll c:\windows\system
  13. goto End
  14.  
  15. :DoCopyCustom
  16. if not exist %2\nul goto BadDirName
  17. xcopy /v %1\vbrun*.dll %2
  18. goto End
  19.  
  20. :BadStartup
  21. echo ERROR--These batch files cannot be run without DEBUG.EXE
  22. goto End
  23.  
  24. :BadDirName
  25. echo ERROR--The specified directory does not exist.
  26. goto End
  27.  
  28. :End
  29.